<template>
  <svg class="remix">
    <use :xlink:href="`${remixiconUrl}#ri-${icon}`" />
  </svg>
</template>

<script setup lang="ts">
import remixiconUrl from "remixicon/fonts/remixicon.symbol.svg";
import { defineProps } from "vue";

defineProps({
  icon: {
    type: String,
    required: true,
  },
});
</script>
